home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / tpcase.zip / TPCASE.DOC < prev    next >
Text File  |  1993-01-04  |  2KB  |  55 lines

  1.        
  2.  
  3.                             TPCASE 
  4.  
  5.            A Case Conversion Utility for Text Files
  6.  
  7.                  Written in Turbo Pascal (5.5)
  8.  
  9. ----------------------------------------------------------------
  10.                                     (c) 1990 Peter W Gallagher
  11.  
  12.  
  13.      TPCASE is a simple utility which translates (ASCII) text
  14. files from lower case to UPPER TPCASE, or back to lower case.  To
  15. start it up, enter TPCASE at the DOS prompt:  a help screen will
  16. give you all of the information you need.
  17.  
  18.      This program is larger (at 26k) than others of the kind.
  19. But it is QUICK and FRIENDLY.  For example, an error will not
  20. cause TPCASE to dump you back to the prompt in sullen silence.
  21. Most times, TPCASE gives you a hint about how to fix the problem.
  22.  
  23.      If you access TPCASE by shelling out of a large word processor
  24. which grabs most of the available RAM, you will appreciate
  25. TPCASE's dynamic allocation of buffer space for its file
  26. operations.
  27.  
  28.      TPCASE is also a little smarter than most similar programs.
  29. When converting to lower case it recognises the end of a sentence
  30. and knows that the next sentence should begin with an UPPERCASE
  31. letter.  It won't recognise all those other words which should
  32. begin with a capital letter - such as the names of places and
  33. people - but then it won't write your documents for you either.
  34.  
  35.      The code for TPCASE.PAS is included in this suite of
  36. programs.  It is fully commented; you may like to play around
  37. with it, adding features that you would find useful.
  38.  
  39.      The key routines in TPCASE.PAS are written in Turbo Pascal
  40. Inline code - which explains why the program runs so quickly. I
  41. am grateful to L. David Baldwin for his INLINE Assembler which
  42. can be found in the Borland Forum Libraries.  Those more at home
  43. with Assembler than I am could probably improve on my code.
  44.  
  45.      The windowing routines are in Panes.TPU.  You will see
  46. fairly readily from the TPCASE code the arguments needed to
  47. access these routines.  Or you could use your own window
  48. routines.  Or no windows, if size is a consideration.
  49.  
  50.      I am happy to donate TPCASE to the Public Domain.  I hope
  51. you find it useful.
  52.  
  53. PETER GALLAGHER (70142,1544)
  54. Brussels, July 1990.
  55.